home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _704560A33DCF4C3C857E6287449CF80D < prev    next >
Encoding:
Text File  |  2004-01-06  |  2.9 KB  |  84 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_heart"] = {
  3.     type="heart",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Soft,
  6. -------------------------------------
  7.     bullet_hit = {
  8.         sounds = {
  9.             --{"Sounds/bullethits/headbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  10.             --{"Sounds/bullethits/headbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  11.             --{"Sounds/bullethits/headbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  12.             {"Sounds/bullethits/headbullet11.wav",SOUND_UNSCALABLE,220,10,80},
  13.             --{"Sounds/explosions/explosion2.wav",SOUND_UNSCALABLE,200,10,80},
  14.             
  15.         },
  16.         
  17.         particleEffects = {
  18.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  19.             name = "bullet.hit_flesh.a",
  20.         },
  21.     },
  22.  
  23.     pancor_bullet_hit = {
  24.         sounds = {
  25.             --{"Sounds/bullethits/headbullet1.wav",SOUND_UNSCALABLE,220,10,80},
  26.             --{"Sounds/bullethits/headbullet2.wav",SOUND_UNSCALABLE,220,10,80},
  27.             --{"Sounds/bullethits/headbullet3.wav",SOUND_UNSCALABLE,220,10,80},
  28.             {"Sounds/bullethits/headbullet11.wav",SOUND_UNSCALABLE,220,10,80},
  29.             --{"Sounds/explosions/explosion2.wav",SOUND_UNSCALABLE,200,10,80},
  30.             
  31.         },
  32.         
  33.         particleEffects = {
  34.             gore = 1,    -- to be able to switch off gore -- to know what's allowed
  35.             name = "bullet.hit_flesh_pancor.a",
  36.         },
  37.     },
  38.     
  39. -------------------------
  40.     melee_punch = {
  41.         sounds = {
  42.             {"sounds/objectimpact/hit1.wav",SOUND_UNSCALABLE,255,5,30},
  43.             {"sounds/objectimpact/hit2.wav",SOUND_UNSCALABLE,255,5,30},
  44.             {"sounds/objectimpact/hit3.wav",SOUND_UNSCALABLE,255,5,30},
  45.             {"sounds/objectimpact/hit4.wav",SOUND_UNSCALABLE,255,5,30},
  46.             {"sounds/objectimpact/hit5.wav",SOUND_UNSCALABLE,255,5,30},
  47.             {"sounds/objectimpact/hit6.wav",SOUND_UNSCALABLE,255,5,30},
  48.             {"sounds/objectimpact/hit7.wav",SOUND_UNSCALABLE,255,5,30},
  49.             {"sounds/objectimpact/hit8.wav",SOUND_UNSCALABLE,255,5,30},
  50.             
  51.         },
  52.     },
  53.     melee_slash = {
  54.         sounds = {
  55.             {"sounds/mutants/ab1/hit1.wav",SOUND_UNSCALABLE,185,5,30},
  56.             {"sounds/mutants/ab1/hit2.wav",SOUND_UNSCALABLE,185,5,30},
  57.             {"sounds/mutants/ab1/hit3.wav",SOUND_UNSCALABLE,185,5,30},
  58.             {"sounds/mutants/ab1/hit4.wav",SOUND_UNSCALABLE,185,5,30},
  59.             {"sounds/mutants/ab1/hit5.wav",SOUND_UNSCALABLE,185,5,30},
  60.             {"sounds/mutants/ab1/hit6.wav",SOUND_UNSCALABLE,185,5,30},
  61.             {"sounds/mutants/ab1/hit7.wav",SOUND_UNSCALABLE,185,5,30},
  62.             --{"sounds/objectimpact/Mslash8.wav",SOUND_UNSCALABLE,255,5,30},
  63.             
  64.         },
  65.         particles = CommonEffects.common_machete_hit_flesh_part.particles,
  66.     },
  67.  
  68.     projectile_hit = CommonEffects.common_projectile_hit,
  69.     mortar_hit = CommonEffects.common_mortar_hit,
  70.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  71.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  72.     grenade_hit = CommonEffects.common_grenade_hit,
  73. -------------------------------------
  74.     gameplay_physic = {
  75.         piercing_resistence = 15,
  76.         friction = 0.4,
  77.         bouncyness= -2, -- default 0
  78.     },
  79.     AI = {
  80.         fImpactRadius = 5,
  81.     },
  82.  
  83.             
  84. }